﻿using BW.ME.Exam.Domain.Entities;
using BW.ME.Exam.ErrorCode;
using BW.ME.Exam.Read.Api.Dtos;
using MediatR;

namespace BW.ME.Exam.Read.Api.Applications.Commands.FormQueryCommand
{
    /// <summary>
    /// 我的表单查询命令
    /// </summary>
    public class MyFormQueryCommand:IRequest<ApiResult<List<InstanceDTO>>>
    {
        /// <summary>
        /// 当前登录人编号
        /// </summary>
        public int CurrentUserId { get; set; }
        /// <summary>
        /// 当前登录人角色编号
        /// </summary>
        public int RoleId { get; set; }
        /// <summary>
        /// 当前登录人昵称
        /// </summary>
        public string CurrentUserNicename { get; set; }
    }
}
